import React from "react";
import Header from "./Header";
import { BrowserRouter as Router, Route } from 'react-router-dom';
import Home from "./Home";
import About from "./About";
import Login from "./Login";
import store from './store';
import { Provider } from 'react-redux'
import './App.css'


const App = () => {

    return (
        <Provider store={store}>
            <Router>
                <div>
                    <Header />
                    <Route exact path='/' component={Home}></Route>
                    <Route path='/About' component={About}></Route>
                    <Route path='/login' component={Login}></Route>

                </div>

            </Router>
        </Provider>
    )

}

export default App;